package com.t.codebook.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.t.codebook.model.dto.codeBank.CodeBankQueryRequest;
import com.t.codebook.model.entity.CodeBank;
import com.t.codebook.model.vo.CodeBankVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 代码库;(code_bank)表数据库访问层
 * @author : http://www.chiner.pro
 * @date : 2024-8-25
 */
@Mapper
public interface CodeBankMapper  extends BaseMapper<CodeBank> {

     List<CodeBankVO> selectCodeBankListByCondition(@Param("dto") CodeBankQueryRequest dto);


     CodeBankVO selectCodeBankById(Long id);
}